<div class="box">
	<div class="box_1">
		<h3>
			<span>相关商品</span>
		</h3>
		<div class="boxCenterList clearfix">
		[@ecs_relatedgoods par_goodsid = var_goodsid par_pageindex = 1 par_pagesize = 10 ]
		[#if var_relatedgoodsinfo??]
			[#list var_relatedgoodsinfo.data as data]
			<ul class="clearfix">
				<li class="goodsimg">
					<a href="goods.xhtml?id=${data.bgiId}">
					[#-- 读取商品图片的自定义标签，参数：par_goodsid 商品ID。--]
					[@ecs_goodsimg par_goodsid = var_goodsid]
						<img src='${(var_virtualpath+var_productpath+var_goodsimginfo.bgpSmall)!"${path}/images/no_picture.gif"}' class="B_blue" alt="${data.bgiName!}" />
					[/@ecs_goodsimg]
					</a>
				</li>
				<li>
					<a href="goods.xhtml?id=${data.bgiId}" title="${data.bgiName}">${data.bgiName}</a>
					<br />
					本店售价：
					<font class="f1">￥${data.bgiPrice}元</font>
				</li>
			</ul>
			[/#list]
		[/#if]	
		[/@ecs_relatedgoods]
		</div>
	</div>
</div>